package qsc.designpattern.builder;

/**
 * @auther QiuShangcheng
 * @create 2021/4/28
 */
public class WomenBuilder implements IBuilder {
    Human human = new Human();
    @Override
    public Human createHuman() {
        return human;
    }

    @Override
    public void createHead() {
        human.setHead("我是女人的头部");
    }

    @Override
    public void createBody() {
        human.setBody("我是女人的身体");
    }

    @Override
    public void createFoot() {
        human.setFoot("我是女人的足部");

    }

    @Override
    public void createHand() {
        human.setHand("我是女人的手部");
    }

}
